/*
 * @Author: your name
 * @Date: 2022-02-02 16:45:09
 * @LastEditTime: 2022-02-02 17:57:52
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \vue3-vite-tsx\src\store\modules\home.ts
 */
const state = {
  address: '地址昂'
}

// 同步方法
const mutations = {
  // 设置地址
  SET_ADDRESS(state: { [key: string]: any }, address: string) {
    state.address = address
  }
}

// 异步方法
const actions = {}

export default {
  namespace: true,
  state,
  mutations,
  actions
}
